package com.bootdo.common.dao;

import com.bootdo.common.domain.CommonImageDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 多图公共表
 * @author yhg
 * @email 411741962@qq.com
 * @date 2017-12-19 15:25:36
 */
@Mapper
public interface CommonImageDao {

	CommonImageDO get(Long id);
	
	List<CommonImageDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(CommonImageDO commonImage);
	
	int update(CommonImageDO commonImage);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
